package com.gxxy.spring.kp02_modules.cls03_annotation.s1_di.s2_construtor;

public class ConstructorDIBean implements IConstructorDIBean {

	private String name;
	private int age;
	private Double fees;

	private ConstructorDIBean beans;

	public ConstructorDIBean() {
	}

	public ConstructorDIBean(String name, int age, Double fees,
			ConstructorDIBean beans) {
		this.name = name;
		this.age = age;
		this.fees = fees;
		this.beans = beans;
	}

	@Override
	public String toString() {
		return "DIBean [name=" + name + ", age=" + age + ", fees=" + fees
				+ ", beans=" + beans + "]";
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Double getFees() {
		return fees;
	}

	public void setFees(Double fees) {
		this.fees = fees;
	}

	public ConstructorDIBean getBeans() {
		return beans;
	}

	public void setBeans(ConstructorDIBean beans) {
		this.beans = beans;
	}

	@Override
	public void testConstructorDIBean() {
		System.out.println("ConstructorDIBean.testConstructorDIBean()");
	}

}
